package com.grgbanking.it.system.service;

import com.grgbanking.it.base.IAlterService;
import com.grgbanking.it.base.IDeleteService;
import com.grgbanking.it.base.ISearchOneJSONService;
import com.grgbanking.it.system.entity.Resource;

/**
 * 资源管理
 * 
 * IResourceService
 * 
 * @author 潘广伟
 * @Email p_3er@qq.com
 * @Date 2014-12-13 上午9:51:50
 * 
 * @version 1.0.0
 *
 */
public interface IResourceService extends IAlterService<Resource>,ISearchOneJSONService<Integer>,IDeleteService<Integer> {
	/**
	 * 获取资源树
	 * findToTree
	 * 
	 * @param keyword 关键字
	 * @param roleId 角色ID
	 * @return
	 * @throws Exception 
	 * @exception 
	 * @since  1.0.0
	 */
	public String findToTree(String keyword,Integer roleId)throws Exception;
	
}